package com.ktgj.customer.mapper;

import java.util.List;
import com.ktgj.customer.domain.TravelContractDocument;

/**
 * 合同附件关联Mapper接口
 * 
 * @author ruoyi
 * @date 2022-07-08
 */
public interface TravelContractDocumentMapper 
{
    /**
     * 查询合同附件关联
     * 
     * @param travelContractDocumentId 合同附件关联ID
     * @return 合同附件关联
     */
    public TravelContractDocument selectTravelContractDocumentById(Long travelContractDocumentId);

    public List<TravelContractDocument> selectContractDocumentByContractId(Long contractId);
    /**
     * 查询合同附件关联列表
     * 
     * @param travelContractDocument 合同附件关联
     * @return 合同附件关联集合
     */
    public List<TravelContractDocument> selectTravelContractDocumentList(TravelContractDocument travelContractDocument);

    /**
     * 新增合同附件关联
     * 
     * @param travelContractDocument 合同附件关联
     * @return 结果
     */
    public int insertTravelContractDocument(TravelContractDocument travelContractDocument);

    /**
     * 修改合同附件关联
     * 
     * @param travelContractDocument 合同附件关联
     * @return 结果
     */
    public int updateTravelContractDocument(TravelContractDocument travelContractDocument);

    /**
     * 删除合同附件关联
     * 
     * @param travelContractDocumentId 合同附件关联ID
     * @return 结果
     */
    public int deleteTravelContractDocumentById(Long travelContractDocumentId);

    /**
     * 批量删除合同附件关联
     * 
     * @param travelContractDocumentIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTravelContractDocumentByIds(Long[] travelContractDocumentIds);
}
